]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
js/gdm/util: Rename fingerprint device into devicePath
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Wed, 28 Feb 2024 20:52:55 +0000 (21:52 +0100)
committerMarco Trevisan (Treviño) <mail@3v1n0.net>
Wed, 28 Feb 2024 21:10:44 +0000 (22:10 +0100)
It's just the dbus object path, so let's not be confused by that.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2267>

js/gdm/util.js

index 24593f6b5c312cf377e685fd2241ec66612c0369..2db9188070faf5771327775c574ba65ab63477ac 100644 (file)
@@ -355,11 +355,11 @@ export class ShellUserVerifier extends Signals.EventEmitter {
             return;
         }
 
-        const [device] = await this._fprintManager.GetDefaultDeviceAsync(
+        const [devicePath] = await this._fprintManager.GetDefaultDeviceAsync(
             Gio.DBusCallFlags.NONE, this._cancellable);
         const fprintDeviceProxy = new FprintDeviceProxy(Gio.DBus.system,
             'net.reactivated.Fprint',
-            device);
+            devicePath);
         const fprintDeviceType = fprintDeviceProxy['scan-type'];
 
         this._fingerprintReaderType = fprintDeviceType === 'swipe'